#!/usr/bin/env node

const log=console.log;

log('file name',__filename);
log('dir name',__dirname);

var filename = __dirname+'/views/view.html';
console.log('fileName',filename);

switch(process.platform){
    case 'linux':
        fileName = __dirname +'/views/view.html';
        break;
    case 'win32':
        fileName = __dirname +'\\views\\view.html';
    default:
        fileName = 'something wrong';
}